package com.github.caijinglong.bean

import org.json.JSONObject

data class Card(val id: String, var upgrades: Int) {

    fun toJsonObject(): JSONObject {
        val json = JSONObject()
        json.put("id", id)
        json.put("upgrades", upgrades)
        return json
    }

}